﻿using DXApplicationTangche.UC.金蝶;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DXApplicationTangche.UC.面料审核.Service
{
    class 金蝶BOMService
    {
    }
    public class ResponseStatus
    {
        /// <summary>
        /// 
        /// </summary>
        public string IsSuccess { get; set; }
    }

    public class MultiLanguageTextItem
    {
        /// <summary>
        /// 
        /// </summary>
        public String PkId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int LocaleId { get; set; }
        /// <summary>
        /// 20FP16-2 女修身小脚裤带裤中线 52288S_70 IGS_GROUP_SIZE-M
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string Description { get; set; }
    }

    public class NameItem
    {
        /// <summary>
        /// 
        /// </summary>
        public int Key { get; set; }
        /// <summary>
        /// 20FP16-2 女修身小脚裤带裤中线 52288S_70 IGS_GROUP_SIZE-M
        /// </summary>
        public string Value { get; set; }
    }

    public class DescriptionItem
    {
        /// <summary>
        /// 
        /// </summary>
        public int Key { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string Value { get; set; }
    }


    public class CreateOrgId
    {
        /// <summary>
        /// 
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<MultiLanguageTextItem> MultiLanguageText { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<NameItem> Name { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string Number { get; set; }
    }

    public class UseOrgId
    {
        /// <summary>
        /// 
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<MultiLanguageTextItem> MultiLanguageText { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<NameItem> Name { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string Number { get; set; }
    }

    public class CreatorId
    {
        /// <summary>
        /// 
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string UserAccount { get; set; }
    }

    public class ModifierId
    {
        /// <summary>
        /// 
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string UserAccount { get; set; }
    }

    public class ApproverId
    {
        /// <summary>
        /// 
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string UserAccount { get; set; }
    }

    public class SpecificationItem
    {
        /// <summary>
        /// 
        /// </summary>
        public int Key { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string Value { get; set; }
    }


    public class BaseUnitId
    {
        /// <summary>
        /// 
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int msterID { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string Number { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<MultiLanguageTextItem> MultiLanguageText { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<NameItem> Name { get; set; }
    }

    public class MaterialBaseItem
    {
        /// <summary>
        /// 
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string ErpClsID { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string IsInventory { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string IsProduce { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int BaseUnitId_Id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public BaseUnitId BaseUnitId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string Suite { get; set; }
    }


    public class StoreUnitID
    {
        /// <summary>
        /// 
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int msterID { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string Number { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<MultiLanguageTextItem> MultiLanguageText { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<NameItem> Name { get; set; }
    }

    public class MaterialStockItem
    {
        /// <summary>
        /// 
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int StoreUnitID_Id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public StoreUnitID StoreUnitID { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string IsExpParToFlot { get; set; }
    }

    public class MaterialPurchaseItem
    {
        /// <summary>
        /// 
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string IsVmiBusiness { get; set; }
    }

    public class MfgPolicyId
    {
        /// <summary>
        /// 
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string Number { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<MultiLanguageTextItem> MultiLanguageText { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<NameItem> Name { get; set; }
    }

    public class MaterialPlanItem
    {
        /// <summary>
        /// 
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public double EOQ { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string PlanningStrategy { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string OrderPolicy { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FixLeadTimeType { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int FixLeadTime { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string VarLeadTimeType { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int VarLeadTime { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string CheckLeadTimeType { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int CheckLeadTime { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string OrderIntervalTimeType { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int OrderIntervalTime { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string PlanOffsetTimeType { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int PlanOffsetTime { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public double MinPOQty { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public double IncreaseQty { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public double MaxPOQty { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public double VarLeadTimeLotSize { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int MfgPolicyId_Id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public MfgPolicyId MfgPolicyId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int SupplySourceId_Id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string SupplySourceId { get; set; }
    }



    public class BOMUnitId
    {
        /// <summary>
        /// 
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int msterID { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string Number { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<MultiLanguageTextItem> MultiLanguageText { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<NameItem> Name { get; set; }
    }

    public class ProduceUnitId
    {
        /// <summary>
        /// 
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int msterID { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string Number { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<MultiLanguageTextItem> MultiLanguageText { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<NameItem> Name { get; set; }
    }

    public class MinIssueUnitId
    {
        /// <summary>
        /// 
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int msterID { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string Number { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<MultiLanguageTextItem> MultiLanguageText { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<NameItem> Name { get; set; }
    }

    public class MaterialProduceItem
    {
        /// <summary>
        /// 
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public String PickStockId_Id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public PickStockId PickStockId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int BOMUnitId_Id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public BOMUnitId BOMUnitId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int WorkShopId_Id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string WorkShopId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string IssueType { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int ProduceUnitId_Id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public ProduceUnitId ProduceUnitId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string IsKitting { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string IsCoby { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string BKFLTime { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string PickBinId_Id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string PickBinId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string IsMainPrd { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string OverControlMode { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public double MinIssueQty { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string IsProductLine { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string ISMinIssueQty { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string IsECN { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int MinIssueUnitId_Id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public MinIssueUnitId MinIssueUnitId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public double LossPercent { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public double FIXLOSS { get; set; }
    }

    public class InvPtyId
    {
        /// <summary>
        /// 
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int msterID { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string Number { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<MultiLanguageTextItem> MultiLanguageText { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<NameItem> Name { get; set; }
    }

    public class MaterialInvPtyItem
    {
        /// <summary>
        /// 
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string IsEnable { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string IsAffectPlan { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int InvPtyId_Id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public InvPtyId InvPtyId { get; set; }
    }

    public class MaterialQMItem
    {
        /// <summary>
        /// 
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string CheckProduct { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string CheckIncoming { get; set; }
    }

    public class MATERIALID
    {
        /// <summary>
        /// 
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int msterID { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string DocumentStatus { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string ForbidStatus { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<MultiLanguageTextItem> MultiLanguageText { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<NameItem> Name { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string Number { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int CreateOrgId_Id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public CreateOrgId CreateOrgId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int UseOrgId_Id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public UseOrgId UseOrgId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<SpecificationItem> Specification { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<MaterialBaseItem> MaterialBase { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<MaterialStockItem> MaterialStock { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<MaterialPurchaseItem> MaterialPurchase { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<MaterialPlanItem> MaterialPlan { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<MaterialProduceItem> MaterialProduce { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<string> MaterialAuxPty { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<MaterialInvPtyItem> MaterialInvPty { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<MaterialQMItem> MaterialQM { get; set; }
    }

    public class BILLTYPE
    {
        /// <summary>
        /// 
        /// </summary>
        public string Id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<MultiLanguageTextItem> MultiLanguageText { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<NameItem> Name { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string Number { get; set; }
    }

    public class UnitGroupId
    {
        /// <summary>
        /// 
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int msterID { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string Number { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<MultiLanguageTextItem> MultiLanguageText { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<NameItem> Name { get; set; }
    }

    public class UNITCONVERTRATEItem
    {
        /// <summary>
        /// 
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string ConvertType { get; set; }
    }

    public class FUNITID
    {
        /// <summary>
        /// 
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int msterID { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<MultiLanguageTextItem> MultiLanguageText { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<NameItem> Name { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string Number { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int UnitGroupId_Id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public UnitGroupId UnitGroupId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int Precision { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string RoundType { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<UNITCONVERTRATEItem> UNITCONVERTRATE { get; set; }
    }

 
    public class GROUP
    {
        /// <summary>
        /// 
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string Number { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<MultiLanguageTextItem> MultiLanguageText { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<NameItem> Name { get; set; }
    }

    public class SUPPLYORG
    {
        /// <summary>
        /// 
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<MultiLanguageTextItem> MultiLanguageText { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<NameItem> Name { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string Number { get; set; }
    }

    public class PickStockId
    {
        /// <summary>
        /// 
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int msterID { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string Number { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<MultiLanguageTextItem> MultiLanguageText { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<NameItem> Name { get; set; }
    }

    public class MATERIALIDCHILD
    {
        /// <summary>
        /// 
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int msterID { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string DocumentStatus { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string ForbidStatus { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<MultiLanguageTextItem> MultiLanguageText { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<NameItem> Name { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string Number { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int CreateOrgId_Id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public CreateOrgId CreateOrgId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int UseOrgId_Id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public UseOrgId UseOrgId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<SpecificationItem> Specification { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<MaterialBaseItem> MaterialBase { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<MaterialStockItem> MaterialStock { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<MaterialPurchaseItem> MaterialPurchase { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<MaterialPlanItem> MaterialPlan { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<MaterialProduceItem> MaterialProduce { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<string> MaterialAuxPty { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<MaterialInvPtyItem> MaterialInvPty { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<MaterialQMItem> MaterialQM { get; set; }
    }

    public class CHILDUNITID
    {
        /// <summary>
        /// 
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int msterID { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<MultiLanguageTextItem> MultiLanguageText { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<NameItem> Name { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string Number { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int UnitGroupId_Id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public UnitGroupId UnitGroupId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int Precision { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string RoundType { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<UNITCONVERTRATEItem> UNITCONVERTRATE { get; set; }
    }

    public class ChildBaseUnitID
    {
        /// <summary>
        /// 
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int msterID { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<MultiLanguageTextItem> MultiLanguageText { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<NameItem> Name { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string Number { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int UnitGroupId_Id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public UnitGroupId UnitGroupId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int Precision { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string RoundType { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<UNITCONVERTRATEItem> UNITCONVERTRATE { get; set; }
    }


    public class ChildSupplyOrgId
    {
        /// <summary>
        /// 
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<MultiLanguageTextItem> MultiLanguageText { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<NameItem> Name { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string Number { get; set; }
    }

    public class TreeEntityItem
    {
        /// <summary>
        /// 
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int Seq { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string ParentRowId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int RowExpandType { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string RowId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string MATERIALTYPE { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string DOSAGETYPE { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int PROCESSID_Id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string PROCESSID { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public double FIXSCRAPQTY { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string EFFECTDATE { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string EXPIREDATE { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string ISSUETYPE { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int SUPPLYORG_Id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public SUPPLYORG SUPPLYORG { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int STOCKID_Id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string STOCKID { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int STOCKLOCID_Id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string STOCKLOCID { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string ALLOWOVER { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string BACKFLUSHTYPE { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FTIMEUNIT { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string ISKEYCOMPONENT { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int MATERIALIDCHILD_Id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public MATERIALIDCHILD MATERIALIDCHILD { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string POSITIONNO { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public double FSCRAPRATE { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public double DISASSMBLERATE { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int OFFSETTIME { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FISGETSCRAP { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int BOMID_Id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string BOMID { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public double NUMERATOR { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public double DENOMINATOR { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string OWNERTYPEID { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int OWNERID_Id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string OWNERID { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int OPERID { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int AuxPropId_Id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string AuxPropId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<string> MultiLanguageText { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<string> MEMO { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int CHILDUNITID_Id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public CHILDUNITID CHILDUNITID { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string EntryRowId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int ChildBaseUnitID_Id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public ChildBaseUnitID ChildBaseUnitID { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public double BaseNumerator { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public double BaseFixscrapQty { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public double BaseDenominator { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public double Qty { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public double ActualQty { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string OverControlMode { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int ReplaceGroup { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string ReplacePolicy { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string ReplaceType { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int ReplacePriority { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int MRPPriority { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string IskeyItem { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string IsCanChoose { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string IsCanEdit { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string IsCanReplace { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int CfgBomEntryId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int CfgFeatureEntryId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int ChildSupplyOrgId_Id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public ChildSupplyOrgId ChildSupplyOrgId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string OptQueue { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string PLMBOMEntryId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string BOMEntrySRC { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string ISSkip { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int TreeEntryIdBak { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string ISMinIssueQty { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string ChangeType { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string ChangeTime { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string ECNBillNo { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string ECNChgType { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string ECNChgDate { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string SupplyMode { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string ECNRowType { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string EntrySource { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string RecordData { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FPLMBOMEntryRowId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string IsMrpRun { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string ModifiedField { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int SubstitutionId_Id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string SubstitutionId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int STEntryId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string SupplyType { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string IsMulCsd { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<string> BOMCHILDLOTBASEDQTY { get; set; }
    }

    public class Result
    {
        /// <summary>
        /// 
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int msterID { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string DocumentStatus { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string ForbidStatus { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<MultiLanguageTextItem> MultiLanguageText { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<NameItem> Name { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string Number { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<DescriptionItem> Description { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int CreateOrgId_Id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public CreateOrgId CreateOrgId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int UseOrgId_Id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public UseOrgId UseOrgId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int CreatorId_Id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public CreatorId CreatorId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int ModifierId_Id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public ModifierId ModifierId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string CreateDate { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string ModifyDate { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int ForbidderId_Id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string ForbidderId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int ApproverId_Id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public ApproverId ApproverId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string ForbidDate { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string ApproveDate { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string BOMCATEGORY { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string BOMUSE { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int MATERIALID_Id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public MATERIALID MATERIALID { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public double YIELDRATE { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string BILLTYPE_Id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public BILLTYPE BILLTYPE { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int FUNITID_Id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public FUNITID FUNITID { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int BaseUnitId_Id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public BaseUnitId BaseUnitId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string ISDEFAULT { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int CfgBomId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public double Qty { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public double BaseQty { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int GROUP_Id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public GROUP GROUP { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string PLMBOMId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string BOMSRC { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public bool IsValidate { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int ParentAuxPropId_Id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string ParentAuxPropId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int MDLID_Id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string MDLID { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string ExtVar { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<TreeEntityItem> TreeEntity { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<string> EntryBOMCOBY { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<string> BopEntity { get; set; }
    }

    public class BOMResult
    {
        /// <summary>
        /// 
        /// </summary>
        public ResponseStatus ResponseStatus { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public Result Result { get; set; }
    }

    public class BOMRoot
    {
        /// <summary>
        /// 
        /// </summary>
        public BOMResult result { get; set; }
    }
    public class BOMListDTO
    {
        public String styleNameCn { get; set; }
        public String materialCode { get; set; }
        public String styleSizeCd { get; set; }
        public String code { get; set; }
        public String name { get; set; }
        public String fnumber { get; set; }
        public double quantity { get; set; }
        public String degree { get; set; }
        public BOMListDTO()
        {

        }

        public BOMListDTO(string code, string name, double quantity, string degree)
        {
            this.code = code;
            this.name = name;
            this.quantity = quantity;
            this.degree = degree;
        }

        public BOMListDTO(string styleNameCn, string materialCode, string styleSizeCd, string code, string name, string fnumber,double quantity, string degree)
        {
            this.styleNameCn = styleNameCn;
            this.materialCode = materialCode;
            this.styleSizeCd = styleSizeCd;
            this.code = code;
            this.name = name;
            this.fnumber = fnumber;
            this.quantity = quantity;
            this.degree = degree;
        }
        //
        public BOMListDTO(string styleSizeCd,AccessoryKingDeeVO accessoryKingDeeVO)
        {
            this.styleSizeCd = styleSizeCd;
            this.code = accessoryKingDeeVO.subMaterialCode;
            this.name = accessoryKingDeeVO.subMaterialName;
            this.fnumber = accessoryKingDeeVO.fNumber;
            this.quantity = accessoryKingDeeVO.FFIXSCRAPQTY;
            this.degree = accessoryKingDeeVO.subMaterialSpecDesc;
        }
    }
}
